﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace GameLibrary.Events
{
    using Interfaces;
    public class OwnershipChangedEventArgs:EventArgs
    {
        public IMapObjectWithEventHandler Obj { get; private set; }
        public uint OldOwner { get; private set; }
        public uint NewOwner { get; private set; }
        public OwnershipChangedEventArgs(IMapObjectWithEventHandler obj, uint oldOwner, uint newOwner)
            : base()
        {
            this.Obj = obj;
            this.OldOwner = oldOwner;
           this.NewOwner = newOwner;
        }
    }
}
